package com.wizard.moremall.common.service;

import com.wizard.moremall.common.entity.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wizard.moremall.common.vo.ProductVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2024-01-18
 */
public interface IProductService extends IService<Product> {

    //二级分类跳转商品页面
    List<ProductVO> getByCategoryId(Integer categoryId);

    //根据具体id跳转商品详情
    ProductVO getByProductId(Integer productId);
}
